package com.example.demo6.entity;


import java.util.List;

/**
 * category对象 category
 * 
 * @author ruoyi
 * @date 2025-04-01
 */
public class Category extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long cid;

    /** 商品名称 */

    private String cname;

    /** 商品图片 */

    private String cimg;

    /** 是否显示 */

    private Long isshow;
    private List<Goods> goodsList;

    public List<Goods> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<Goods> goodsList) {
        this.goodsList = goodsList;
    }

    public void setCid(Long cid)
    {
        this.cid = cid;
    }

    public Long getCid() 
    {
        return cid;
    }
    public void setCname(String cname) 
    {
        this.cname = cname;
    }

    public String getCname() 
    {
        return cname;
    }
    public void setCimg(String cimg) 
    {
        this.cimg = cimg;
    }

    public String getCimg() 
    {
        return cimg;
    }
    public void setIsshow(Long isshow) 
    {
        this.isshow = isshow;
    }

    public Long getIsshow() 
    {
        return isshow;
    }

    @Override
    public String toString() {
        return "Category{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                ", cimg='" + cimg + '\'' +
                ", isshow=" + isshow +
                '}';
    }
}
